package gappengko;

/** Encapsulates the important constants (Datastore Kind, key conventions, ...). */
public class Constants {

  /** a convention to pass Datastore keys to clients */
  public static final String KEY = "_key";

  /** a convention to time stamp the entries */
  public static final String CREATIONDATE = "_ctime";

  /** a convention to handle callbacks parameters in JSON-P.
   * Fortunately, compatible with the default of jquery
   *  */
  public static final String CALLBACK = "callback";
  
  /** the maximum number of results to serve (to save bandwidth and avoid DoS) */
  public static final int MAXRESULTS = 1000;
  
  private Constants() {};
}
